package com.aliyun.heiyu.powermaster.server.dao.entity;

import java.io.Serializable;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;

public class RackConfigMetaEntity implements Serializable {
    private Long id;
    private Timestamp gmt_create;
    private Timestamp gmt_modified;
    private String rack_code;
    private byte[] meta;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Timestamp getGmt_create() {
        return gmt_create;
    }

    public void setGmt_create(Timestamp gmt_create) {
        this.gmt_create = gmt_create;
    }

    public Timestamp getGmt_modified() {
        return gmt_modified;
    }

    public void setGmt_modified(Timestamp gmt_modified) {
        this.gmt_modified = gmt_modified;
    }

    public String getRack_code() {
        return rack_code;
    }

    public void setRack_code(String rack_code) {
        this.rack_code = rack_code;
    }

    public byte[] getMeta() {
        return meta;
    }

    public void setMeta(byte[] meta) {
        this.meta = meta;
    }

    @Override
    public String toString() {
        return "{" +
            "id:" + id +
            ", gmt_create:" + gmt_create +
            ", gmt_modified:" + gmt_modified +
            ", rack_code:'" + rack_code + '\'' +
            ", meta:" + Arrays.toString(meta) +
            '}';
    }
}
